package com.palm.dao.entity;

import java.util.UUID;

public class Car extends Entity{

	private String carId;
	private String plateNum;
	private String carBrand;
	private String drivingLicenseNum;
	private String color;
	
	public Car(String plateNum, String carBrand, String drivingLicenseNum, String color) {
		super();
		this.carId = UUID.randomUUID().toString();
		this.plateNum = plateNum;
		this.carBrand = carBrand;
		this.drivingLicenseNum = drivingLicenseNum;
		this.color = color;
	}
	public String getCarId() {
		return carId;
	}
	public void setCarId(String carId) {
		this.carId = carId;
	}
	public String getPlateNum() {
		return plateNum;
	}
	public void setPlateNum(String plateNum) {
		this.plateNum = plateNum;
	}
	public String getCarBrand() {
		return carBrand;
	}
	public void setCarBrand(String carBrand) {
		this.carBrand = carBrand;
	}
	public String getDrivingLicenseNum() {
		return drivingLicenseNum;
	}
	public void setDrivingLicenseNum(String drivingLicenseNum) {
		this.drivingLicenseNum = drivingLicenseNum;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	@Override
	public String toString() {
		return "Car [carId=" + carId + ", plateNum=" + plateNum + ", carBrand=" + carBrand + ", drivingLicenseNum="
				+ drivingLicenseNum + ", color=" + color + "]";
	}
	
	
}
